package com.barry;

/**
 * 类功能描述：//TODO
 *
 * @author WangXueXing create at 19-1-28 下午5:05
 * @version 1.0.0
 */
public class A {

    static{
        System.out.println("A");
    }

    protected static int value = 123;

    public static void main(String[] args) {
       /* String str1 = "Hello Str";
        String str2 = "Hello Str";
        String str3 = new String("Hello Str");
        // return true
        System.out.println(str1 == str2);
        // return false
        System.out.println(str1 == str3);
        // return true
        System.out.println(str1.equals(str3));

        // return true
        System.out.println(str1 == str3.intern());*/
        int a=10;
        long b=10L;
        double c=10.0;
        System.out.println(a==b);
        System.out.println(a==c);
    }

}
